<%--
  Created by IntelliJ IDEA.
  User: ZhongGang
  Date: 12-12-22
  Time: 下午7:57
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<html>
<head>
    <title>注册</title>
</head>
<body>
<form:form commandName="user" method="post">
    <table>
        <tr>
            <td>用户名</td>
            <td>
                <form:input path="username"/>
                <form:errors path="username"/>
            </td>
        </tr>
        <tr>
            <td>密码</td>
            <td>
                <form:input path="password"/>
                <form:errors path="password"/>
            </td>
        </tr>
        <tr>
            <td>再次确认密码</td>
            <td>
                <form:input path="reconfirmPassword"/>
                <form:errors path="reconfirmPassword"/>
            </td>
        </tr>
        <tr>
            <td>显示名</td>
            <td>
                <form:input path="displayName"/>
            </td>
        </tr>
        <tr>
            <td>地址</td>
            <td>
                <form:input path="address"/>
            </td>
        </tr>
        <tr>
            <td>联系电话</td>
            <td>
                <form:input path="phone"/>
            </td>
        </tr>
        <tr>
            <td>邮件地址</td>
            <td>
                <form:input path="email"/>
            </td>
        </tr>
        <tr>
            <td>QQ</td>
            <td>
                <form:input path="qq"/>
            </td>
        </tr>
        <tr>
            <td>出生日期</td>
            <td>
                <form:input path="birthday" cssClass="datePicker"/>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="注册"/>
            </td>
        </tr>
    </table>
</form:form>
</body>
</html>